//
//  BaseNavigationViewController.m
//  南京大牌档
//
//  Created by student on 13-12-25.
//  Copyright (c) 2013年 无锡第三团队. All rights reserved.
//

#import "BaseNavigationViewController.h"

@interface BaseNavigationViewController ()

@end

@implementation BaseNavigationViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
       
//        [self.navigationBar setBackgroundColor:[UIColor colorWithRed:255/255.0 green:215/255.0 blue:0/255.0 alpha:1]];
        
        if (WXHLOSVersion()>=7.0) {
             [[UINavigationBar appearance]setBarTintColor:[UIColor colorWithRed:255/255.0 green:215/255.0 blue:0/255.0 alpha:1]];
        }
        else{
          self.navigationBar.tintColor =[UIColor colorWithRed:255/255.0 green:215/255.0 blue:0/255.0 alpha:1];
        }
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	self.view.backgroundColor=[UIColor blackColor];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
